package com.panshi.mapper;

import com.panshi.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface IUserMapper {
    public List<User> getUserArr();

    public User getUserId(@Param("id") Integer id);

    public User getUser(@Param("username") String username, @Param("password") String password);
}
